package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员日志对象 user_log
 * 
 * @author ruoyi
 * @date 2025-01-07
 */
public class UserLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String operateType;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String operateContent;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /** 逻辑删除标志 */
    private String isDeleted;

    /** 是否执行成功的状态 */
    @Excel(name = "是否执行成功的状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOperateType(String operateType) 
    {
        this.operateType = operateType;
    }

    public String getOperateType() 
    {
        return operateType;
    }
    public void setOperateContent(String operateContent) 
    {
        this.operateContent = operateContent;
    }

    public String getOperateContent() 
    {
        return operateContent;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setIsDeleted(String isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public String getIsDeleted() 
    {
        return isDeleted;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("operateType", getOperateType())
            .append("operateContent", getOperateContent())
            .append("userId", getUserId())
            .append("operateTime", getOperateTime())
            .append("isDeleted", getIsDeleted())
            .append("status", getStatus())
            .toString();
    }
}
